package com.spring_hibernate;

public class BookServiceImpl implements BookService{
    private BookDao bookDao=new BookDaoImpl();
    public String findBookById(int id)
    {
        return bookDao.findBookById(id);
    }
    public void saveBook(Book book)
    {
    	bookDao.saveBook(book);	        
    }
}
